//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    val:'',
    //评分
    value:[1,1.5,2,2.5,3,3.5,4,4.5,5],
  },
  //跳到更多电影
  btnmore:function(options){
  wx.redirectTo({
    url: '../../components/moviemore/moviemore',
    success:function(res){},
    fail:function() {},
    complete:function() {}
  })
  },
  //跳到更多热门
 hotmore:function(options){
    wx.redirectTo({
      url: '../../components/hotmore/hotmore',
      success:function(res){},
      fail:function() {},
      complete:function() {}
    })
    },
    //跳到更多剧集
 newmore:function(options){
  wx.redirectTo({
    url: '../../components/newmore/newmore',
    success:function(res){},
    fail:function() {},
    complete:function() {}
  })
  },
   //跳到更多综艺
 showmore:function(options){
  wx.redirectTo({
    url: '../../components/showmore/showmore',
    success:function(res){},
    fail:function() {},
    complete:function() {}
  })
  },
  //跳到更多图书
 booksmore:function(options){
  wx.redirectTo({
    url: '../../components/booksmore/booksmore',
    success:function(res){},
    fail:function() {},
    complete:function() {}
  })
  },
  onChange(event) {
    this.setData({
      value: event.detail,
    });
  },
});